import { Vector3 } from "@minecraft/server";

export interface KcpdMap {
    spawnPoint: Vector3;
    itemPoints: Vector3[];
}

/**车站地图 */
const stationMap: KcpdMap = {
    spawnPoint: { x: 1.42, y: -60.0, z: -457.44 },
    itemPoints: [
        { x: -31, y: -60, z: -486 },
        { x: -52, y: -60, z: -507 },
        { x: -47, y: -60, z: -449 },
        { x: -3, y: -53, z: -450 },
        { x: -61, y: -22, z: -492 },
    ],
};

/**停车场地图 */
const parking: KcpdMap = {
    spawnPoint: { x: 8.21, y: -60.0, z: -459.06 },
    itemPoints: [
        { x: 46, y: -60, z: -444 },
        { x: 18, y: -60, z: -488 },
        { x: 64, y: -60, z: -482 },
        { x: 37, y: -60, z: -409 },
    ],
};

export const KcpdMaps = {
    station: stationMap,
    parking: parking,
};
